package com.xiaoxu.intranetweb.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "分页参数实体类")
@Data
public class PagerParam implements Serializable {
    @ApiModelProperty(value="当前页")
    private int page;
    @ApiModelProperty(value="每页行数",example = "0")
    private int pageSize;
    @ApiModelProperty(value="排序列名")
    private String sortName;
    @ApiModelProperty(value="排序方式(asc 或 desc)")
    private String sortString;
}
